﻿using System;
using System.Data.Entity;
using System.Data.Entity.Infrastructure;

namespace Sidvall.WorkItemManager.Data.Entity.Model
{
    public partial class WorkItemManagerEntities : DbContext
    {
        public WorkItemManagerEntities() : base("name=Default")
        {
        }
        public WorkItemManagerEntities(string nameOrConnectionString) : base(nameOrConnectionString)
        {
        }
        protected override void OnModelCreating(DbModelBuilder modelBuilder)
        {
            throw new UnintentionalCodeFirstException();
        }
        public DbSet<global::Sidvall.WorkItemManager.Data.Entity.Entities.WorkCondition> WorkCondition { get; set; }
        public DbSet<global::Sidvall.WorkItemManager.Data.Entity.Entities.Worker> Worker { get; set; }
        public DbSet<global::Sidvall.WorkItemManager.Data.Entity.Entities.WorkItem> WorkItem { get; set; }
        public DbSet<global::Sidvall.WorkItemManager.Data.Entity.Entities.WorkItemLog> WorkItemLog { get; set; }
        public DbSet<global::Sidvall.WorkItemManager.Data.Entity.Entities.WorkItemSensor> WorkItemSensor { get; set; }
        public DbSet<global::Sidvall.WorkItemManager.Data.Entity.Entities.WorkItemSensorLog> WorkItemSensorLog { get; set; }
        public DbSet<global::Sidvall.WorkItemManager.Data.Entity.Entities.WorkItemType> WorkItemType { get; set; }
        public DbSet<global::Sidvall.WorkItemManager.Data.Entity.Entities.WorkItemWorkCondition> WorkItemWorkCondition { get; set; }
        public DbSet<global::Sidvall.WorkItemManager.Data.Entity.Entities.WorkRetryPolicy> WorkRetryPolicy { get; set; }
    }
}